<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>
</head>

<body>
  <?php
$objConnect = mysql_connect("localhost","root","root") or die("Error Connect to Database");
$objDB = mysql_select_db("appdrivergame");
mysql_query("SET character_set_results=utf8");
mysql_query("SET character_set_client=utf8"); 
mysql_query("SET character_set_connection=utf8");
$strSQL = "DELETE FROM image ";
$strSQL .="WHERE id = '".$_GET["id"]."' ";
$objQuery = mysql_query($strSQL);
if($objQuery)
{
	echo "Record Deleted.";
?>	
	 <script type="text/javascript">
	window.location.href = "Padmin2.php";
	</script> 
<?
}
else
{
	echo "Error Delete [".$strSQL."]";
}
mysql_close($objConnect);
?>
</body>
</html>